package com.lamp.customer.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.lamp.service.IUserService;
import com.lamp.vo.User;

@Controller
public class TestController {
	
	@Autowired
	private IUserService userService;
	
	@RequestMapping("/test")
	@ResponseBody
	public String sayDubbo(){
		User str = userService.selectUserById(1);
		return str.toString();
	}


}
